package com.exam.util;

import java.util.List;

public class PageResult {
	private Page page; // 分页信息 
	@SuppressWarnings("rawtypes")
	private List list; // 记录信息

	/**
	 * 构造方法设置分页信息
	 * 
	 * @param page
	 * @param list
	 */ 
	@SuppressWarnings("rawtypes")
	public PageResult(Page page, List list) {
		this.page = page;
		this.list = list;
	}

	/**
	 * 取得分页信息
	 * 
	 * @return
	 */
	public Page getPage() {
		return page;
	}

	/**
	 * 设置分页信息
	 * 
	 * @param page
	 */
	public void setPage(Page page) {
		this.page = page;
	}
 
	@SuppressWarnings("rawtypes")
	public List getList() {
		return list;
	}
 
	@SuppressWarnings("rawtypes")
	public void setList(List list) {
		this.list = list;
	}
}
